gtk/gtktrayicon-x11.c: Use new GdkRGBA api instead GDKColor one
authorJavier Jardón <jjardon@gnome.org>
Mon, 19 Dec 2011 13:39:54 +0000 (13:39 +0000)
committerJavier Jardón <jjardon@gnome.org>
Tue, 20 Dec 2011 18:32:15 +0000 (18:32 +0000)
gtk/gtktrayicon-x11.c

index fdc055b6f3a5e8af927e5804731d26451176f4d2..b20027a91c2ac71280b9be546a2e93a77013b93b 100644 (file)
@@ -961,8 +961,8 @@ gtk_tray_icon_realize (GtkWidget *widget)
   if (icon->priv->manager_visual_rgba)
     {
       /* Set a transparent background */
-      GdkColor transparent = { 0, 0, 0, 0 }; /* Only pixel=0 matters */
-      gdk_window_set_background (window, &transparent);
+      GdkRGBA transparent = { 0.0, 0.0, 0.0, 0.0 };
+      gdk_window_set_background_rgba (window, &transparent);
     }
   else
     {